package main

import "fmt"

func main() {
	GetDrinkInfo("Bogdan", "Capuccino", 4.50)
	GetDrinkInfo("Alice", "Espresso", 2.50)
}

func GetDrinkInfo(customerName string, drink string, price float64) {
	// fmt.Println("Bogdan's favorite drink is Capuccino")
	// fmt.Printf("%s's favorite drink is %s and it's price is $%.2f\n", customerName, drink, price)
	info := "%s's favorite drink is %s and it's price is $%.2f\n"
	fmt.Printf(info, customerName, drink, price)
}
